package com.szsfm.vehiclemanagement.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by zhoubigbo on 2017/12/1.
 */

public class UserInfo {

    private static UserInfo instance;

    private UserInfo(){}

    public synchronized static UserInfo shareInstance(){
        if (instance==null)
            instance = new UserInfo();
        return instance;
    }

    private String city;
    private List<String> roads = new ArrayList<>();


    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public List<String> getRoads() {
        return roads;
    }

    public void setRoads(List<String> roads) {
        this.roads = roads;
    }
}
